package com.wmx.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

@Data
@Getter
@Setter
@TableName("role")
@KeySequence("SEQ_TEST")//类注解
@AllArgsConstructor
public class RoleEntity {
    public RoleEntity(){};
    @TableId(value = "ID",type = IdType.INPUT)
    private long Id;
    @TableField("ROLE_NAME")
    private String roleName;
}
